package edu.bailie.springmvc.dao;

import edu.bailie.springmvc.pojo.Student;

public class StudentDaoImpl implements StudentDao{

	@Override
	public String getStudentInfo(Student student) {
		//相当于sql语句
		return String.format("学生的id是%s，学生的姓名是%s,学生的年龄是%s",student.getId(),student.getName(),student.getAge());
	}

}
